<%-- 
    Document   : EL2
    Created on : 2014/8/19, 上午 10:28:00
    Author     : gjun
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        ${list[0].name}:${list[0].tel}<br>
        ${list[1]['name']}:${list[1]['tel']}<br>
        ==================================<br>
        <c:forEach var="x" items="${list}">
            ${x.name}:${x.tel}<br>
        </c:forEach>
    </body>
</html>
